package org.nobody.mallb2c.mallsearch.vo;

import lombok.Data;

import java.util.List;

/**
 * @author 3489309323@qq.com
 * @create 2020-09-11-18:39
 *
 * 封装页面所有可能传递过来的查询条件
 *
 * ?catalog3id=225&keyword=小米&sort=saleCount_asc&hastStock=0/1
 */
@Data
public class SearchParam {
  private String keyword; //页面传递过来的全文匹配关键字

  private Long catalog3Id; //三级分类id

  private String sort; //排序条件

  private Integer hasStock; //是否只显示有货 0否 1是

  private String skuPrice; //价格区间查询

  private List<Long> brandId; //按照品牌进行查询

  private List<String> attrs; //按照属性(规格参数)进行筛选

  private Integer pageNum = 1; //页码

  private String _queryString; //原生的所有查询条件
}
